class CreateDisciplines < ActiveRecord::Migration
  def self.up  
    create_table :disciplines do |t|
    
      t.column :app_user_id, :integer, :null => false
      t.column :descricao, :string, :limit => 60, :null => false
      t.column :courses_id, :integer, :null => false
      t.timestamps
      
    end
  end

  def self.down
    drop_table :disciplines
  end
end
